package com.ziyun.pop.modules.storeMaterials.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @Author ZhaoWei
 * @Date 2018/10/11 10:08
 * @Version V1.0
 */
@Getter
@Setter
@TableName("store_material_out_detail")
public class StoreMaterialOutDetailEntity implements Serializable {

	private static final long serialVersionUID = 2187263071413134287L;

	/**
	 * 规格
	 */
	@TableField(exist = false)
	private String specifications;
	/**
	 * 型号
	 */
	@TableField(exist = false)
	private String materialModel;
	/**
	 * 耗材长
	 */
	@TableField(exist = false)
	private Integer Long;
	/**
	 * 耗材宽
	 */
	@TableField(exist = false)
	private Integer wide;
	/**
	 * 耗材重量
	 */
	@TableField(exist = false)
	private BigDecimal weight;



	/**
	 * 自增id
	 */
	@TableId(type = IdType.AUTO)
	private Integer detailId;


	/**
	 * 显示单位
	 */
	@TableField(exist = false)
	private String showUnit;

	@TableField(exist = false)
	private Double length;


	@TableField(exist = false)
	private Double width;

	/**
	 * 出库id
	 */
	private Integer outId;
	/**
	 * 出库单号
	 */
	private String outNo;
	/**
	 * 耗材id
	 */
	private String materialId;

	/**
	 * 耗材名称
	*/
	@TableField(exist = false)
	private String materialName;

	/**
	 * 耗材数量
	 */
	private BigDecimal materialQuantity;
	/**
	 * 单价
	 */
	private BigDecimal unitMoney;
	/**
	 * 总价
	 */
	private BigDecimal totalMoney;
	/**
	 * 单位
	 */
	private String unit;
	/**
	 * 备注
	 */
	private String remark;
	/**
	 * 创建人（员工id）
	 */
	private String createName;
	/**
	 * 创建时间
	 */
	private Date createTime;
	/**
	 * 标记删除0:正常,1:删除
	 */
	private Integer del;

}
